#pragma once
#include "Node.h"
#include "Variables.h"
#include "Predicate.h"

class Operation : public Node
{
public:
	Operation(std::string, unsigned int, Node *);
	~Operation(void);
	int getType() const;
	void clone(Node**);
	void print (std::string&);
	DataType getDataType() const;
	bool checkNode(std::vector<Variables> &, const Node*);
	void setDataType(DataType);
	std::string getValue(std::vector<Variables>);
private:
	DataType _dataType;
};

